Total Complexity | 27 |
Dependencies | 4 |
Dependents | 8 |
Total lines | 275 |
Lines of code | 134 |
Logical lines of code | 58 |
Comment lines | 71 |
Methods | 14 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getQueryVars() | 55 | 4 | 20 | |
getSubscriptionFromQueryVars() | 60 | 4 | 14 | |
enqueueAssets() | 60 | 4 | 13 | |
makeSubscriptionMenuItemActive() | 62 | 3 | 12 | |
addMenuItem() | 62 | 3 | 11 | |
__invoke() | 56 | 1 | 21 | |
invalidSubscriptionNotice() | 64 | 1 | 11 | |
getActionNonceURL() | 64 | 1 | 11 | |
addSubscriptionsSlugToWooCommerceQueryVars() | 76 | 1 | 4 | |
isPage() | 75 | 1 | 4 | |
isSubscriptionUpdatePaymentMethodPage() | 79 | 1 | 3 | |
getNonceAction() | 74 | 1 | 4 | |
getSubscriptionURL() | 78 | 1 | 3 | |
getActionURL() | 78 | 1 | 3 |